package com.fzy.designpattern.chain;

public class Interceptor3 extends Interceptor {

    @Override
    public void beginIntecept(String condition) {
        if ("interceptor3".equals(condition)) {
            System.out.println("拦截器到interceptor3");
        } else {
            System.out.println("interceptor3无法处理，到下一个拦截器");
            nextChain.beginIntecept(condition);
        }
    }

}
